#include "stdafx.h"
#include "mysql.h"

#pragma comment(lib, "libmysql.lib")

//BOOL connect_DB(CString hostIP, CString hostUser, CString hostPass, CString dbName, int hostPort);

MYSQL connect_DB(CString hostIP, CString hostUser, CString hostPass, CString dbName, int hostPort);
BOOL disConnectDB(MYSQL mysqlDB);
void SelectFromDB(MYSQL mysqlDB, CString table, CString colume, CString fromWhere, CStringArray *Result);



BOOL userInfo_CheckNamePass(CString userName, CString userPass);
BOOL taskInfo_CheckTaskInfo(CString userName, CString StrKey);
BOOL EnvInfo_CheckEnv(CString envMac);

